2 * Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
3 * Licensed to the public under the Apache License 2.0.
9 return baseclass.extend({
12 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
16 title: "%H: Memory usage",
18 number_format: "%5.1lf%s",
20 alt_autoscale_max: true,
53 title: "%H: Memory usage",
55 number_format: "%5.1lf%%",
57 alt_autoscale_max: true,
88 var types = graph.dataTypes(host, plugin, plugin_instance);
90 for (var i = 0; i < types.length; i++)
91 if (types[i] == 'percent')
93 else if (types[i] == 'memory')